From: awilliam@xenbuild.aw Date: Sun, 22 Oct 2006 20:12:30 +0000 (-0600) Subject: [IA64] BUG() bad path during domain destruction X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15592 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=b829af263ff3dbd991f0d759258eb60bc85cb13b;p=xen.git [IA64] BUG() bad path during domain destruction BUG out on badness due to SMP problems accessing the p2m table. This is temporary until we have a real fix. To avoid this, do not use the RX copy option (xennet.rx_copy). Based on patch by: Tsunehisa Doi Signed-off-by: Alex Williamson --- diff --git a/xen/arch/ia64/xen/mm.c b/xen/arch/ia64/xen/mm.c index eed8a40be3..27f66bf7f3 100644 --- a/xen/arch/ia64/xen/mm.c +++ b/xen/arch/ia64/xen/mm.c @@ -399,11 +399,11 @@ gmfn_to_mfn_foreign(struct domain *d, unsigned long gpfn) unsigned long pte; // This function may be called from __gnttab_copy() - // during destruction of VT-i domain with PV-on-HVM driver. + // during domain destruction with VNIF copy receiver. // ** FIXME: This is not SMP-safe yet about p2m table. ** if (unlikely(d->arch.mm.pgd == NULL)) { - if (VMX_DOMAIN(d->vcpu[0])) - return INVALID_MFN; + BUG(); + return INVALID_MFN; } pte = lookup_domain_mpa(d,gpfn << PAGE_SHIFT, NULL); if (!pte) {